import axios from 'axios';

export const login = body => {
  return axios.post('/api/user/login', body);
};

export const checkLogin = () => {
  return axios.get('/api/user/checkLogin');
};

export const getCheckCode = () => {
  return axios.get('/api/user/getCheckCode');
};

export const loginFromNSMP = body => {
  return axios.post('/api/user/loginFromNSMP', body);
};
